<template>
  <div>
   <!-- 下面是出口 -->
     <router-view></router-view>
     <!-- to可以跳转页面 -->
   <van-tabbar v-model="active" active-color="orange" inactive-color="#000">
   <van-tabbar-item icon="wap-home-o" to="/homepage">首页</van-tabbar-item>
   <van-tabbar-item icon="search" to="/findroom" >找房</van-tabbar-item>
   <van-tabbar-item icon="friends-o"  to="/information" >资讯</van-tabbar-item>
   <van-tabbar-item icon="contact"  to="/user" >我的</van-tabbar-item>
   </van-tabbar>
   </div>
</template>
 
<script>

export default {                                                                                                                                                                                                                                                                                
  components: {},
  props: {},
  data() {
    return {
      active:0
    };
  },
  computed: {},
  watch: {},
  created() {},
  methods: {}
};
</script>

<style scoped>
     
</style>